package com.dz.lm.dao.order.read;

import java.util.List;
import java.util.Map;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.ReaderRepository;

@ReaderRepository("readOrderDao")
public interface OrderDao {

	/**
	 * 用userId查询订单信息
	 */
	Map<String, Object> qryOrderInfoByUser(Map<String, Object> param) throws DaoException;
	/**
	 * 用userId查询订单列表
	 */
	List<Map<String, Object>> qryTradeList(Map<String, Object> param) throws DaoException;
	/**
	 * 用userId查询订单总数
	 */
	int qryTradeListCount(Map<String, Object> param) throws DaoException;
	/**
	 * 用orderId查询订单信息
	 */
	Map<String, Object> qryOrderInfoByorderId(Map<String, Object> param) throws DaoException;
}